package com.gopay.common.gateway.manager.impl;

import com.gopay.common.domain.fund.FundGopayGenOrderTransDtl;
import com.gopay.common.domain.pg.PgGenOrderTransDtl;
import com.gopay.common.gateway.dao.PgFundOrderTransDtlQueryDAO;
import com.gopay.common.gateway.dao.PgGeneralOrderTransDtlQueryDAO;
import com.gopay.common.gateway.manager.PgFundOrderTransDtlQueryManager;
import com.gopay.common.gateway.manager.PgGeneralOrderTransDtlQueryManager;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author baiyunpeng
 * @2016年7月14日 下午3:36:05  www.gopay.com.cn Inc.All rights reserved.
 */
@Service("pgFundOrderTransDtlQueryManager")
public class PgFundOrderTransDtlQueryManagerImpl implements PgFundOrderTransDtlQueryManager {

    @Resource(name = "pgFundOrderTransDtlQueryDAO")
    private PgFundOrderTransDtlQueryDAO pgFundOrderTransDtlQueryDAO;

    @Override
    public FundGopayGenOrderTransDtl get(Serializable id) {
        return this.pgFundOrderTransDtlQueryDAO.find(FundGopayGenOrderTransDtl.class, id);
    }

    @Override
    public List<FundGopayGenOrderTransDtl> get(Map<Object, Object> paraMap) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<FundGopayGenOrderTransDtl> getAll() {
        return this.pgFundOrderTransDtlQueryDAO.findAll(FundGopayGenOrderTransDtl.class);
    }


}
